#include "vector2.h"

#include <iostream>
#include <sstream>
#include "vector2.h"

using namespace std;

int main()
{
  Vector2 v=Vector2(4.0,5.0);
  Vector2 w(6,7);
  Vector2 u=add(v,w);
  
  //Muestra lo que vale u
  cout<<u<<endl;

  string string1 = "Vector2(5.8923,6.23423)";
  istringstream stream1(string1);
  stream1 >> u;

  cout<<u<<endl;

  return 0;
}
